package com.linksfield.topup.entity.interfaces.planmanage.search.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


/**
 * 套餐服务计划：搜索时整个返回体要包含两个部分：计算的内容+套餐服务计划列表
 * request：前端 RequestServicePlanSearch
 * response：后端 ResponseSearch （ResponseCalculateCount+ResponseServicePlan）
 * <p>
 * 计算出的套餐在不同状态下的条数
 *
 * @author: lm
 * @date: 2019-11-26 15:40
 */
@Data
public class ResponseCalculateCount implements Serializable {

    private static final long serialVersionUID = -4425036417896552446L;

    @ApiModelProperty(value = "套餐总数", example = "100", dataType = "Integer")
    private Integer totalCount;

    @ApiModelProperty(value = "已上架套餐条数", example = "20", dataType = "Integer")
    private Integer beenOnCount;

    @ApiModelProperty(value = "未上架套餐条数：包含已保存+已下架", example = "80", dataType = "Integer")
    private Integer notOnCount;
}
